package com.ruiysoft.service.logistics;


/**
 * 处理快递公司的回调消息，
 */
public interface ILogisticsCallback {

    default LogisticsCallBackMQVO createMQVO(String apiSupplier, Long shopID, String param){
        return new LogisticsCallBackMQVO(apiSupplier, shopID, param);
    }

    void push2MQ(String apiSupplier, Long shopID, String param);



    class LogisticsCallBackMQVO{
        private String apiSupplier;
        private Long shopID;
        private String param;

        public LogisticsCallBackMQVO(String apiSupplier, Long shopID, String param) {
            this.apiSupplier = apiSupplier;
            this.shopID = shopID;
            this.param = param;
        }

        public String getApiSupplier() {
            return apiSupplier;
        }

        public void setApiSupplier(String apiSupplier) {
            this.apiSupplier = apiSupplier;
        }

        public Long getShopID() {
            return shopID;
        }

        public void setShopID(Long shopID) {
            this.shopID = shopID;
        }

        public String getParam() {
            return param;
        }

        public void setParam(String param) {
            this.param = param;
        }
    }

    class logisticsSubscribeMQVO{

    }

}
